﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="RegInfo.aspx.cs" Inherits="RegInfo" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<script language="C#" runat="server">
// Copyright 2010 Google Inc. All Rights Reserved.
private const string GaAccount = "MO-29705972-4";
private const string GaPixel = "/ga.aspx";

private string GoogleAnalyticsGetImageUrl() {
  System.Text.StringBuilder url = new System.Text.StringBuilder();
  url.Append(GaPixel + "?");
  url.Append("utmac=").Append(GaAccount);
  Random RandomClass = new Random();
  url.Append("&utmn=").Append(RandomClass.Next(0x7fffffff));
  string referer = "-";
  if (Request.UrlReferrer != null
      && "" != Request.UrlReferrer.ToString()) {
    referer = Request.UrlReferrer.ToString();
  }
  url.Append("&utmr=").Append(HttpUtility.UrlEncode(referer));
  if (HttpContext.Current.Request.Url != null) {
    url.Append("&utmp=").Append(HttpUtility.UrlEncode(Request.Url.PathAndQuery));
  }
  url.Append("&guid=ON");
  return url.ToString().Replace("&", "&amp;");
}
</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="viewport" content="width=device-width">
    <title>填资料 | 大众进口汽车甲壳虫</title>
    <script type="text/javascript">
        addEventListener("load", function () { setTimeout(hideURLbar, 0); }, false);
        function hideURLbar() {
            window.scrollTo(0, 1);
        }
    </script>
    <style type="text/css">
        * {font-family:Lucida Sans Unicode,helvetica,sans-serif;font-size:12px;margin:0;padding:0;}
        body {background-color:#efefef;}
        #container {width:640px;height:834px;margin:0 auto;position:relative;}
        #bg_image,#buttons {width:640px;height:834px;position:absolute;}
        .button_info {width:215px;height:60px;display:block;position:absolute;}
        #button_preview {left:89px;top:738px;}
        #button_submit {left:319px;top:738px;}
        .info_input {color:#045783;font-size:28px;position:absolute;background:transparent;border:0;padding:3px;}
        .info_radio {font-size:28px;position:absolute;}
        #input_name {width:330px;height:34px;left:200px;top:224px;}
        #input_male {width:100px;height:34px;left:220px;top:285px;}
        #input_female {width:100px;height:34px;left:360px;top:285px;}
        #input_number {width:330px;height:34px;left:200px;top:338px;}
        #input_email {width:330px;height:34px;left:200px;top:398px;}
        #input_budgetfrom {width:115px;height:32px;left:100px;top:535px;}
        #input_budgetto {width:115px;height:32px;left:345px;top:535px;}
        #input_year {width:188px;height:38px;left:100px;top:645px;}
        #input_month {width:158px;height:38px;left:335px;top:645px;}
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div id="container">
        <div id="bg_image">
            <img src="images/header.jpg" width="640" height="84" alt="大众进口汽车甲壳虫" />
            <img src="images/04_02.jpg" width="640" height="94" alt="精彩搭配,谁的杰作?" />
            <img src="images/04_03.jpg" width="640" height="152" alt="输入姓名/性别" />
            <img src="images/04_04.jpg" width="640" height="132" alt="输入手机/邮箱" />
            <img src="images/04_05.jpg" width="640" height="123" alt="购车预算" />
            <img src="images/04_06.jpg" width="640" height="124" alt="购车时间" />
            <img src="images/04_07.jpg" width="640" height="125" alt="确认" />
        </div>
        <div id="buttons">
                <asp:TextBox ID="input_name" class="info_input" runat="server"></asp:TextBox>
                <input id="input_male" class="info_radio" type="radio" name="gender" value="male"  runat="server" />
                <input id="input_female" class="info_radio" type="radio" name="gender" value="female" runat="server" />
                <asp:TextBox ID="input_number" class="info_input" MaxLength="11" runat="server"></asp:TextBox>
                <asp:TextBox ID="input_email" class="info_input" runat="server"></asp:TextBox>
                <asp:TextBox ID="input_budgetfrom" class="info_input" runat="server"></asp:TextBox>
                <asp:TextBox ID="input_budgetto" class="info_input" runat="server"></asp:TextBox>

                <%--<select id="input_year" class="info_input" name="date_year">
                    <option>2012</option>
                    <option>2013</option>
                    <option>2014</option>
                </select>--%>
                <asp:DropDownList ID="input_year" class="info_input" name="date_year" runat="server">
                    <asp:ListItem Selected="True">请选择</asp:ListItem>
                    <asp:ListItem>2012年</asp:ListItem>
                    <asp:ListItem>2013年</asp:ListItem>
                    <asp:ListItem>2014年</asp:ListItem>
                    <asp:ListItem>2014年以后</asp:ListItem>
                </asp:DropDownList>
            <asp:DropDownList ID="input_month" class="info_input" name="date_month" runat="server" >
                <asp:ListItem Value="0" Selected="True">请选择</asp:ListItem>
                <asp:ListItem>1</asp:ListItem>
                <asp:ListItem>2</asp:ListItem>
                <asp:ListItem>3</asp:ListItem>
                <asp:ListItem>4</asp:ListItem>
                <asp:ListItem>5</asp:ListItem>
                <asp:ListItem>6</asp:ListItem>
                <asp:ListItem>7</asp:ListItem>
                <asp:ListItem>8</asp:ListItem>
                <asp:ListItem>9</asp:ListItem>
                <asp:ListItem>10</asp:ListItem>
                <asp:ListItem>11</asp:ListItem>
                <asp:ListItem>12</asp:ListItem>
            </asp:DropDownList>
                <%--<select id="input_month" class="info_input" name="date_month">
                    <option>1</option>
                    <option>2</option>
                    <option>3</option>
                    <option>4</option>
                    <option>5</option>
                    <option >6</option>
                    <option selected>7</option>
                    <option>8</option>
                    <option>9</option>
                    <option>10</option>
                    <option>11</option>
                    <option>12</option>
                </select>--%>
            <asp:LinkButton ID="button_preview" class="button_info" runat="server" onclick="Preview_Click"></asp:LinkButton>
            <asp:LinkButton class="button_info" ID="button_submit" runat="server" onclick="Sub_Click"></asp:LinkButton>
        </div>
    </div>
    </form>
    <% string googleAnalyticsImageUrl = GoogleAnalyticsGetImageUrl(); %>
<img src="<%= googleAnalyticsImageUrl %>" />
</body>
</html>
